package com.mrs.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mrs.entity.Menu;

import java.util.List;

/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2022-09-10 16:41:03
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermissions(Long userId);

    List<Menu> selectAllMenuRoutes();

    List<Menu> selectRoutesMenuByUserId(Long userId);
}

